package com.jeecg.demo.service;

import com.jeecg.demo.entity.XmStockinfoEntity;
import com.jeecg.demo.entity.XmUsableinfoEntity;
import org.jeecgframework.core.common.service.CommonService;

import java.util.List;

public interface XmStockinfoServiceI extends CommonService{
 	public void delete(XmStockinfoEntity entity) throws Exception;
	/**
	 * 添加一对多
	 * 
	 */
	public void addMain(XmStockinfoEntity xmStockinfo,
	        List<XmUsableinfoEntity> xmUsableinfoList) throws Exception;
	/**
	 * 修改一对多
	 * 
	 */
	public void updateMain(XmStockinfoEntity xmStockinfo,
	        List<XmUsableinfoEntity> xmUsableinfoList) throws Exception;
	        
	/**
	 * 删除一对多
	 * 
	 */
	public void delMain (XmStockinfoEntity xmStockinfo) throws Exception;
}
